package com.pig4cloud.pig.common.core.constant.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 文章状态 枚举类
 * @author KonBAI
 * @version 1.0
 * Create by 2020/11/06 01:05
 */
@Getter
@RequiredArgsConstructor
public enum ArticleStateEnum {
    /**
     * 未审核
     */
    UNREVIEWED("0", "未审核"),

    /**
     * 已通过
     */
    PASS("1", "已通过"),

    /**
     * 已拒绝
     */
    REJECT("2", "已拒绝"),

    /**
     * 已撤回
     */
    OVERRULE("3", "已撤回");

    /**
     * 代码
     */
    private final String code;

    /**
     * 描述
     */
    private final String description;
}
